package com.xbongbong.pro.rabbitmq.binders;

import com.xbongbong.pro.rabbitmq.constant.MarketingManagementBinderConstant;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Service;

@Service("marketingManagementConsumerBinder")
public interface MarketingManagementConsumerBinder {

    @Input(MarketingManagementBinderConstant.MARKETING_MANAGEMENT_INPUT)
    SubscribableChannel marketingManagementInput();

    @Input(MarketingManagementBinderConstant.PROMOTION_MANAGEMENT_INPUT)
    SubscribableChannel promotionManagementInput();

    @Input(MarketingManagementBinderConstant.DISTRIBUTOR_MARKETING_MANAGEMENT_INPUT)
    SubscribableChannel distributorMarketingManagementInput();

    @Input(MarketingManagementBinderConstant.DISTRIBUTOR_PROMOTION_MANAGEMENT_INPUT)
    SubscribableChannel distributorPromotionManagementInput();

    @Input(MarketingManagementBinderConstant.DISTRIBUTOR_COUPON_INPUT)
    SubscribableChannel distributorCouponInput();
}
